// 公共样式处理

// 可选状态
.pointer-events {
  pointer-events: auto;
}

/* 无滚动条 */
.no-scroll-bar::-webkit-scrollbar {
  width: 0px; /*高宽分别对应横竖滚动条的尺寸*/
  height: 0px;
}

// flex 公共类
.flex {
  display: flex;
  &.ai-c {
    align-items: center;
  }
  &.jc-sb {
    justify-content: space-between;
  }
  &.jc-sa {
    justify-content: space-around;
  }
  &.jc-c {
    justify-content: center;
  }

  &.jc-fe {
    justify-content: flex-end;
  }
  &.jc-ct {
    justify-content: center;
  }
  &.wrap {
    flex-wrap: wrap;
  }
  &.column {
    flex-direction: column;
  }

  .flex-1 {
    flex: 1;
  }
}

.part-box {
  width: 390px;
}
// 信息框
.message-box {
  position: absolute;
  pointer-events: auto;
  padding: 10px;
  box-sizing: border-box;

  // 暂时作为辅助线
  // border: 1px solid #fff;
}

// 地图背景
.bg-map {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  .cesium-viewer-bottom {
    display: none !important;
  }
}

// 页面
.page-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

li {
  list-style:none;
}

// 文本溢出，点点点
.overflow-text{
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

// 滚动条
::-webkit-scrollbar {
  width: 8px; /* 纵向滚动条*/
  height: 8px; /* 横向滚动条 */
  background-color: #fff;
}

/*定义滚动条轨道 内阴影*/
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
  background-color: #03060a;
}

/*定义滑块 内阴影*/
::-webkit-scrollbar-thumb {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
  background-color: #324478;
  border-radius: 10px;
}
